@charset 'utf-8';
@import 'common';

.middle {
    width: 100%;
    margin: 40px 0 0 0;
}

.login {
    @include reuse-flex(column);
    justify-content: center;
    align-items: center;
    margin: 60px 0;

    // 我要转让
    .container {
        position: relative;
        width: 340px;
        height: 0;
        border: 1px solid #9ac1c0;
        margin: 0 auto;

        .title {
            width: 135px;
            height: 30px;
            line-height: 15px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fff;
            padding: 0 15px;
            font-weight: bold;
            text-transform: uppercase;
            text-align-last: justify;
            font-family: $font;

            h3 {
                font-size: 14px;
                padding-bottom: 3px;
            }

            p {
                font-size: 9px;
                font-family: "Arial";
                color: rgb(61, 61, 61);
            }

        }
    }

    .form {
        margin: 60px 0 0 0;
        @include reuse-flex;
        justify-content: center;
        background: #fff;

        .form-left {
            width: calc(100% - 379px);
            @include reuse-flex(column);

            // 点击登录和注册
            .toggle {
                @include reuse-flex;
                justify-content: center;

                .sign,
                .register {
                    width: 93px;
                    height: 24px;
                    background: #9ac1c0;
                    border-radius: 3px;
                    line-height: 24px;
                    text-align: center;
                    margin: 0 10px 0 0;
                    cursor: pointer;
                }

                li.active {
                    background: #b3d9ff
                }
            }

            form {
                div {
                    // 通用样式
                    @include reuse-flex;
                    align-items: center;
                    font-size: 12px;
                    justify-content: center;
                    margin: 25px 30px 0;

                    label {
                        width: 60px;
                        font-size: 12px;
                        display: inline-block;
                        text-align: center;
                    }

                    input {
                        flex: 1;
                        background: #ecf5ff;
                        height: 24px;
                        outline: none;
                        padding-left: 15px;
                        border: 1px solid #d0cfcf;
                    }

                    span {
                        display: inline-block;
                    }
                }

                // 验证码
                .verification {
                    img {
                        margin: 0 5px;
                    }

                    span {
                        margin: 0 3px;
                    }

                    .change {
                        color: #b30000;
                        cursor: pointer;
                    }

                }

                // 有效期
                .lifespan {
                    display: inline-block;

                    input {
                        border-width: 1px;
                        border-color: rgb(154, 193, 192);
                        border-style: solid;
                        border-radius: 50%;
                        background-color: rgb(229, 229, 229);
                        width: 10px;
                        height: 10px;
                        cursor: pointer;

                    }
                }

                // 
                .btn {
                    button {
                        width: 93px;
                        height: 24px;
                        background: #b3d9ff;
                        border-radius: 3px;
                        border: none;
                        margin-right: 10px;
                        cursor: pointer;
                    }

                    span {
                        color: #b30000;
                        cursor: pointer;
                    }
                }
            }
        }

        // 右边背景图
        .bg-right {
            background: url('../image/login/sign.png') center;
            width: 379px;
            height: 258px;
        }
    }
}